package io.qar.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

/**
 * 源FTP表
 *
 * @author yyyyjinying
 * @since 3.0 2023-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("cfg_src_ftp_file")
public class CfgSrcFtpFileEntity {
    private static final long serialVersionUID = 1L;

    @TableId
    private Long srcId;
    /**
     * ID
     */
    private String id;
    /**
     * pid
     */
    private String pid;
    private String srcIp;
    private Integer srcPort;
    private String srcUsername;
    private String srcPassword;
    /**
     * 是否上传
     */
    private Integer isQarFtp;
    private Integer flightNo;
    private String label;
    private String name;
    private Integer orderby;
    private Long size;
    private Integer type;
    private String filePath;
    private String filename;
    private String fileSuffix;
    private Date fileCreateTime;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}